Automattic\Jetpack\Sync\Queue B

Total Complexity 82
Dependencies 5
Dependents 11
Total lines 752
Lines of code 393
Logical lines of code 195
Comment lines 252
Methods 32
Properties 3

Methods 32

Method Rating Maintainability Complexity Lines of code
checkout_with_memory_limit()
A
42 13 53
lock()
S
56 7 18
checkout()
S
55 6 19
add_all()
S
51 5 24
add()
S
54 4 23
lag()
S
54 4 21
close()
S
60 4 15
validate_checkout()
S
60 4 13
fetch_items_by_id()
S
56 3 18
get_checkout_id()
S
58 3 16
fetch_items()
S
55 2 22
set_checkout_id()
S
56 2 21
checkin()
S
68 2 8
peek_by_id()
S
70 2 7
delete()
S
63 2 9
peek()
S
70 2 7
get_next_data_row_option_name()
S
65 2 9
generate_option_name_timestamp()
S
79 1 3
get_lock_option_name()
S
79 1 3
unserialize_values()
S
67 1 9
delete_checkout_id()
S
65 1 10
__construct()
S
71 1 5
unlock()
S
81 1 3
is_locked()
S
80 1 3
force_checkin()
S
82 1 3
get_all()
S
81 1 3
pop()
S
71 1 6
get_ids()
S
70 1 8
has_any_items()
S
64 1 10
size()
S
66 1 9
reset()
S
65 1 10
flush_all()
S
73 1 5